﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DataSync.Entity
{
    public class ParseField
    {
        /// <summary>
        /// 文件列名（列名与序号二选一）
        /// </summary>
        public string Col { get; set; }
        public string Name { get; set; }
        /// <summary>
        /// 文件序号（列名与序号二选一）
        /// </summary>
        public int Index { get; set; }
        public string FieldType { get; set; }
        /// <summary>
        /// 是否主键(作为检查key)
        /// </summary>
        public bool Iskey { get; set; }
        /// <summary>
        /// 转换处理类型
        /// </summary>

        public string ConvertType { get; set; }
        /// <summary>
        /// 转换参数
        /// </summary>
        public string ConvertParams { get; set; }
    }
    public class ColData
    {
        public string FieldType { get; set; }
        public string Value { get; set; }
    }
}
